How to combine two or more querysets in a Django view

27

## GITHUB URL: https://stackoverflow.com/questions/431628/how-can-i-combine-two-or-more-querysets-in-a-django-view

from itertools import chain
result_list = list(chain(page_list, article_list, post_list))

Comments

Submit
0 Comments